package com.yiwei.zhh.activity;

import android.os.Bundle;

import com.yiwei.zhh.R;
import com.yiwei.zhh.constant.Const;
import com.yiwei.zhh.event.OnZhiMaEventMsg;
import com.yiwei.zhh.util.PreferenceUtils;

import org.greenrobot.eventbus.EventBus;

import java.util.HashMap;
import java.util.Map;

/**
 * 芝麻回调界面
 * Created by Master.Dong on 16/4/10.
 */
public class ZhiMaCallBackActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setBaseContentView(R.layout.zhi_ma_call_back_activity);
        baseInitView(this, "ZhiMaCallBack_Page", Const.ViewType.ACTIVITY);

        Map<String, String> map = new HashMap<>();
        PreferenceUtils.putBoolean(this, "isfromAlipay", true);
        EventBus.getDefault().post(new OnZhiMaEventMsg(map));

        finish();
    }
}
